package com.tanjun.common.enums.menu;


import com.fasterxml.jackson.annotation.JsonValue;
import com.mybatisflex.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum MenuTypeEnum  {
    CATALOGUE(1), //目录
    PAGE(2),//页面
    BUTTON(3),//按钮
    OUT_LINK(4)//外链
    ;
    @JsonValue
    @EnumValue
    private Integer type;


    public Integer getValue() {
        return this.type;
    }
}
